Auto merge of #2710 - sbeckeriv:the-missing-lib, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 18 May 2016 22:15:03 +0000 (15:15 -0700)
committerbors <bors@rust-lang.org>
Wed, 18 May 2016 22:15:03 +0000 (15:15 -0700)
commitfb03dad54fdd3cd32afc33f3b031e408e92b5847
tree2faee4feda8f245c4a5c3353e5278bc9286b3c02
parent48fd9de43f3567cf8c78db7162492ee2d451be39
parent388028e80d19667408b33c660901a9828899721b
Auto merge of #2710 - sbeckeriv:the-missing-lib, r=alexcrichton

The missing lib

Dearest Reviewer,

This pull request allows the value of project.links to be passed into
the build script via an environment variable. This closes #1220 . I have
added a test that makes sure that the environment variable is set. Also
note I am using CARGO_LIB not LIB because it appears to be used for
windows in appveyor. I think CARGO_LIB fits better.

I have also updated the documentation to reflect the new variable.

Thanks!
Becker
tests/test_cargo_compile_custom_build.rs